export interface IAddGradeRequestData {
  year: string
  seq: number | undefined
  projectId: number | undefined
  note: string
  name?: string
  teacherName: string
  teacherPhone: string
}

export interface IAddGradeResponseData {
  id: number
  creationTime: string
  name: string
  year: string
  seq: number | undefined
  projectId: number | undefined
  note: string
  isDel: any
  studentNum: number
  trainingInfo: string
  teacherName: string
  teacherPhone: string
}
export interface IUpdateGradeRequestData {
  id: number
  year: string
  seq: number | undefined
  projectId: number | undefined
  note: string
}

export interface IGetGradeRequestData {
  page: number
  size: number
  name: string
  year: string
  seq: string
  projectId: number | undefined
  departmentId: number | undefined
}

export interface IGetGradeIdAndName {
  name: string
  projectId: number | undefined
  departmentId: undefined | number
}

export type AddGradeResponseData = IApiResponseData<{ theClass: IAddGradeResponseData }>
export type DeleteGradeResponseData = IApiResponseData<null>
export type UpdateGradeResponseData = IApiResponseData<{ theClass: IAddGradeResponseData }>
export type GetGradeResponseData = IApiResponseData<{ total: number; list: IAddGradeResponseData[] }>
